﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="BlogListBasic.aspx.cs" Inherits="Press.MVC.Web.Views.Mta.BlogListBasic" %>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

<% Html.Grid<Press.MVC.Data.Blog>(
	"blogs",
	column => 
    {
		column.For(b => b.ID);
		column.For(b => b.Name, "Blog Name");
		column.For(b => b.SubTitle,"Sub Title");
		column.For(b => b.IsActive,"Status");
        column.For("Custom Column").Do(b => { %>
				<td><%=Html.ActionLink<Press.MVC.Web.Controllers.MtaController>(x => x.BlogEdit(b.ID), "Edit")%></td>	
			<% });
        
	}
);
%>
   
    
</asp:Content>
